package com.dotflat.xj.po;

import com.dotflat.rest.PO.AreableObjectBasePO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 巡检记录对象
 * 
 * @author #
 * @date 2021-11-25
 */
@Data
@ApiModel("巡检记录对象")
@EqualsAndHashCode(callSuper = true)
public class TargetRecordPO extends AreableObjectBasePO
{
    /** 巡检ID */
    @ApiModelProperty(value = "巡检ID",required=true)
    private String targetId;

    /** 类型0卡1二维码 */
    @ApiModelProperty(value = "类型0卡1二维码")
    private String type;

    /** 状态0正常1异常2未处理3已处理 */
    @ApiModelProperty(value = "状态0正常1异常2未处理3已处理")
    private String status;

    /** 时间 */
    @ApiModelProperty(value = "时间yyyy-MM-ss",required=true)
    private String time;

    /** 检查班级 */
    @ApiModelProperty(value = "检查班级",required=true)
    private String targetClass;

    /** 记录总分数 */
    @ApiModelProperty(value = "记录总分数")
    private Integer recordCount =0;

    /** 记录总检查项 */
    @ApiModelProperty(value = "记录总检查项")
    private Integer recordNumber =0;

    @ApiModelProperty(value = "分项记录")
    private List<TargetValueRecordPO> list;
}
